Goto

Collaborating Authors

 relevant document


Scalable In-context Ranking with Generative Models

Neural Information Processing Systems

In-context Ranking (ICR) is an emerging paradigm for Information Retrieval (IR), which leverages contextual understanding of LLMs by directly incorporating the task description, candidate documents, and the query into the model's input prompt and tasking the LLM to identify relevant document(s). While it is effective, efficiency is a significant challenge in this paradigm, especially as the candidate list grows due to quadratic / super-linear scaling of attention operation with context length. To this end, this paper first identifies inherent and exploitable structures in the attention of LLMs finetuned for ICR: (1) inter-document block sparsity - attention is dense within each document block but sparse across different documents in the context; and (2) query-document block relevance - the attention scores from certain query tokens to a document block in middle layers strongly correlate with that document's actual relevance. Motivated by these observations, we introduce BlockRank (Blockwise In-context Ranking), a novel method that adapts the attention operation in an LLM by (a) architecturally enforcing the observed inter-document block sparsity, reducing attention complexity from quadratic to linear without loss in performance, and (b) optimizing query-document block relevance for true relevant documents during fine-tuning using an auxiliary contrastive training objective, improving retrieval in attention. Experiments on BEIR, MSMarco and NQ with Mistral-7B demonstrate that BlockRank Mistral matches or outperforms existing SOTA listwise rankers and controlled fine-tuned baseline while being significantly more efficient at inference (4.7 for 100MSMarco documents in context) and scaling gracefully to long-context shortlists - around 500documents in-context ( 100K context length) within a second, presenting a scalable and effective solution for ICR.


Entity Labels Are Not Entity Signals: A Framework for Observable Relevance in Document Re-Ranking

arXiv.org Artificial Intelligence

Entity-aware document retrieval uses query-associated entities as ranking signals, assuming that semantically relevant entities are also useful retrieval signals. We show this assumption is insufficient- and explain why. Unlike terms, which are ground-truth observations, entity links are hypotheses produced by an imperfect linker: an entity can be topically central yet provide no discriminative signal if the linker fires indiscriminately across relevant and non-relevant documents. We formalize this as a distinction between Conceptual Entity Relevance (CER)- whether an entity is topically related to a query- and Observable Entity Relevance (OER)- whether its observed presence in a collection discriminates relevant from non-relevant documents. Across four collections and annotation sources including human entity judgments, CER and OER exhibit near-chance agreement ($ฮบ\approx 0$), while OER operationalizations agree substantially ($ฮบ\approx 0.5$), confirming CER as the systematic outlier. CER-based supervision selects topically plausible but weakly discriminative entities, pruning fewer than 4% of non-relevant documents on some collections. Aligning supervision with OER improves non-relevant pruning by up to 10x and open-world MAP by 0.051 over BM25. Our findings motivate a shift from conceptual to observable notions of entity relevance in entity-aware retrieval.


Scalable In-context Ranking with Generative Models

Neural Information Processing Systems

In-context Ranking (ICR) is an emerging paradigm for Information Retrieval (IR), which leverages contextual understanding of LLMs by directly incorporating the task description, candidate documents, and the query into the model's input prompt and tasking the LLM to identify relevant document(s). While it is effective, efficiency is a significant challenge in this paradigm, especially as the candidate list grows due to quadratic/super-linear scaling of attention operation with context length. To this end, this paper first identifies inherent and exploitable structures in the attention of LLMs finetuned for ICR: (1) inter-document block sparsity: attention is dense within each document block but sparse across different documents in the context; and (2) query-document block relevance: the attention scores from certain query tokens to a document block in middle layers strongly correlate with that document's actual relevance. Motivated by these observations, we introduce BlockRank (Blockwise In-context Ranking), a novel method that adapts the attention operation in an LLM by (a) architecturally enforcing the observed inter-document block sparsity, reducing attention complexity from quadratic to linear without loss in performance, and (b) optimizing query-document block relevance for true relevant documents during fine-tuning using an auxiliary contrastive training objective, improving retrieval in attention. Experiments on BEIR, MSMarco and NQ with Mistral-7B demonstrate that BlockRank Mistral matches or outperforms existing SOTA listwise rankers and controlled fine-tuned baseline while being significantly more efficient at inference (4.7x for 100 MSMarco documents in context) and scaling gracefully to long-context shortlists, around 500 documents in-context (approximately 100K context length) within a second, presenting a scalable and effective solution for ICR.


Parametric Knowledge is Not All You Need: Toward Honest Large Language Models via Retrieval of Pretraining Data

arXiv.org Artificial Intelligence

Abstractdomains where trust and reliability are critical, such Large language models (LLMs) are highly ca-as medicine and law. As a result, they can generate factu-This behavior is often referred to as LLM honesty ally incorrect responses on topics they do notand is considered a key property for trustworthy have enough knowledge of, commonly knownlanguage models (Askell et al., 2021). Rather than hallucinating, aessential for ensuring the safety and reliability of language model should be more honest and respond with "I don't know" when it does not LLMs in real-world applications. Many LLM honesty consists of two aspects, which can be called self-knowledge and self-expression (Limethods have been proposed to improve LLM et al., 2025). Self-knowledge means the modelhonesty, but their evaluations lack robustness, as they do not take into account the knowledgeneeds to know the limits of its own knowledge. In this paper, we propose a more robustknowledge, the LLM should refuse to answer (e.g., evaluation benchmark dataset for LLM honestyby responding "I don't know") to be considered an by utilizing Pythia, a truly open LLM with publicly available pretraining data. LLMs are sometimes still unable to answer 1 Introductioncorrectly, even though they have been trained on the relevant documents, especially if occurrence of Artificial intelligence (AI) assistants have experi-such documents in the training data is low (Kandpal enced massive growth in both capability and pop-et al., 2023). Fueled by high-capacity mod-Actual Knowledge els trained on vast amounts of internet data, LLMs Known Unknown exhibit impressive abilities in understanding and Known Known Known generating natural language, including tasks such Known (N) Unknown (N)1 2 as question answering, summarization, machine Unknown Unknown Unknown translation, and creative text generation. These as-Perception Known (N3) Unknown (N4) sistants are designed to be helpful, but they often lack awareness of their own limitations (Srivastava Table 1: Known-Unknown quadrant. The horizontal axis represents the model's access to information while et al., 2023).


How important is Recall for Measuring Retrieval Quality?

arXiv.org Artificial Intelligence

In realistic retrieval settings with large and evolving knowledge bases, the total number of documents relevant to a query is typically unknown, and recall cannot be computed. In this paper, we evaluate several established strategies for handling this limitation by measuring the correlation between retrieval quality metrics and LLM-based judgments of response quality, where responses are generated from the retrieved documents. We conduct experiments across multiple datasets with a relatively low number of relevant documents (2-15). We also introduce a simple retrieval quality measure that performs well without requiring knowledge of the total number of relevant documents.


LLMs as Assessors: Right for the Right Reason?

arXiv.org Artificial Intelligence

A good deal of recent research has focused on how Large Language Models (LLMs) may be used as judges in place of humans to evaluate the quality of the output produced by various text / image processing systems. Within this broader context, a number of studies have investigated the specific question of how effectively LLMs can be used as relevance assessors for the standard ad hoc task in Information Retrieval (IR). We extend these studies by looking at additional questions. Most importantly, we use a Wikipedia based test collection created by the INEX initiative, and prompt LLMs to not only judge whether documents are relevant / non-relevant, but to highlight relevant passages in documents that it regards as useful. The human relevance assessors involved in creating this collection were given analogous instructions, i.e., they were asked to highlight all passages within a document that respond to the information need expressed in a query. This enables us to evaluate the quality of LLMs as judges not only at the document level, but to also quantify how often these judges are right for the right reasons. Our observations lead us to reiterate the cautionary note sounded in some earlier studies when it comes to using LLMs as assessors for creating IR datasets: while LLMs are unquestionably promising, and may be used judiciously to subtantially reduce the amount of human involvement required to generate high-quality benchmark datasets, they cannot replace humans as assessors.


How Retrieved Context Shapes Internal Representations in RAG

arXiv.org Artificial Intelligence

Abstracta mixture of documents that vary in relevance and usefulness. These observations question the reretrieved document set often contains a mixtureliability of RAG systems, calling for an in-depth of documents that vary in relevance and useful-understanding of how RAG truly works. To fill the gap of understanding, prior work has is known about how retrieved context shapes largely focused on analyzing RAG at the level of output behavior, studying how different retrievalthe internal representations that mediate instrategies or context compositions affect final an-formation integration in RAG. In this work, we study RAG through the lens of latent representa-swers, such as accuracy (Shi et al., 2023; Wu et al., tions. We systematically analyze how different 2025; Vladika and Matthes, 2025) and hallucinatypes of retrieved documents affect the hiddention rates (Joren et al., 2025; Amiraz et al., 2025). Across four question-answering they offer a limited understanding of how different datasets and three LLMs, we analyze internal types of retrieved documents influence the internal representations of LLMs. Output-level observa-representations under controlled single-and tions alone cannot distinguish whether a change inmulti-document settings. Our results reveal how context relevancy and layer-wise process-output arises from effective evidence integration, ing influence internal representations, provid-suppression of parametric knowledge, or a delibering explanations of LLMs' output behaviorsate model response such as uncertainty or refusal. A principled understanding of RAG, therefore, re-1 Introduction quires examining the internal representations that mediate interactions between retrieved information Retrieval-augmented generation (RAG) has be-and a model's parametric knowledge.


Generative Retrieval Meets Multi-Graded Relevance

Neural Information Processing Systems

Generative retrieval represents a novel approach to information retrieval, utilizing an encoder-decoder architecture to directly produce relevant document identifiers (docids) for queries. While this method offers benefits, current implementations are limited to scenarios with binary relevance data, overlooking the potential for documents to have multi-graded relevance. Extending generative retrieval to accommodate multi-graded relevance poses challenges, including the need to reconcile likelihood probabilities for docid pairs and the possibility of multiple relevant documents sharing the same identifier. To address these challenges, we introduce a new framework called GRaded Generative Retrieval (GR$^2$). Our approach focuses on two key components: ensuring relevant and distinct identifiers, and implementing multi-graded constrained contrastive training. Firstly, we aim to create identifiers that are both semantically relevant and sufficiently distinct to represent individual documents effectively. This is achieved by jointly optimizing the relevance and distinctness of docids through a combination of docid generation and autoencoder models. Secondly, we incorporate information about the relationship between relevance grades to guide the training process. Specifically, we leverage a constrained contrastive training strategy to bring the representations of queries and the identifiers of their relevant documents closer together, based on their respective relevance grades.Extensive experiments on datasets with both multi-graded and binary relevance demonstrate the effectiveness of our method.


Not All Queries Need Rewriting: When Prompt-Only LLM Refinement Helps and Hurts Dense Retrieval

arXiv.org Artificial Intelligence

Prompt-only, single-step LLM query rewriting, where a rewrite is generated from the query alone without retrieval feedback, is commonly used in production RAG pipelines, but its effect on dense retrieval is poorly understood. We present a systematic empirical study across three BEIR benchmarks, two dense retrievers, and multiple training configurations, and find strongly domain-dependent behavior: rewriting degrades nDCG@10 by 9.0 percent on FiQA, improves it by 5.1 percent on TREC-COVID, and has no significant effect on SciFact. We identify a consistent mechanism: degradations co-occur with reduced lexical alignment between rewritten queries and relevant documents, as rewriting replaces domain-specific terms in already well-matched queries. In contrast, improvements arise when rewriting shifts queries toward corpus-preferred terminology and resolves inconsistent nomenclature. Lexical substitution occurs in 95 percent of rewrites across all outcome groups, showing that effectiveness depends on the direction of substitution rather than substitution itself. We also study selective rewriting and find that simple feature-based gating can reduce worst-case regressions but does not reliably outperform never rewriting, with even oracle selection offering only modest gains. Overall, these results show that prompt-only rewriting can be harmful in well-optimized verticals and suggest that domain-adaptive post-training is a safer strategy when supervision or implicit feedback is available.


Developing an AI Assistant for Knowledge Management and Workforce Training in State DOTs

arXiv.org Artificial Intelligence

Effective knowledge management is critical for preserving institutional expertise and improving the efficiency of workforce training in state transportation agencies. Traditional approaches, such as static documentation, classroom-based instruction, and informal mentorship, often lead to fragmented knowledge transfer, inefficiencies, and the gradual loss of expertise as senior engineers retire. Moreover, given the enormous volume of technical manuals, guidelines, and research reports maintained by these agencies, it is increasingly challenging for engineers to locate relevant information quickly and accurately when solving field problems or preparing for training tasks. These limitations hinder timely decision-making and create steep learning curves for new personnel in maintenance and construction operations. To address these challenges, this paper proposes a Retrieval-Augmented Generation (RAG) framework with a multi-agent architecture to support knowledge management and decision making. The system integrates structured document retrieval with real-time, context-aware response generation powered by a large language model (LLM). Unlike conventional single-pass RAG systems, the proposed framework employs multiple specialized agents for retrieval, answer generation, evaluation, and query refinement, which enables iterative improvement and quality control. In addition, the system incorporates an open-weight vision-language model to convert technical figures into semantic textual representations, which allows figure-based knowledge to be indexed and retrieved alongside text. Retrieved text and figure-based context are then provided to an open-weight large language model, which generates the final responses grounded in the retrieved evidence.